//
//  PSWageRangePickerView.h
//  Btpin
//
//  Created by Vic on 2019/6/16.
//  Copyright © 2019 Vic. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "PSWageRangeModel.h"

NS_ASSUME_NONNULL_BEGIN

@class PSWageRangePickerView;

@protocol PSWageRangePickerViewDelegate <NSObject>
@optional
/** 代理方法返回数据*/
- (void)psWageRangePickerView:(PSWageRangePickerView *)psWageRangePickerView leftModel:(PSWageRangeModel *)leftModel rightModel:(PSWageRangeModel *)rightModel;
/** 取消代理方法*/
- (void)psWageRangePickerViewCancle;
@end

@interface PSWageRangePickerView : UIButton

@property (nonatomic, weak) id<PSWageRangePickerViewDelegate> delegate;
- (instancetype)initWithDataArray:(NSArray *)dataArray target:(id)target;
- (void)updateWageRangeForMinWage:(NSString *)minWage maxWage:(NSString *)maxWage;

@end

NS_ASSUME_NONNULL_END
